package com.example.text.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.text.entity.AdminRoleMenu;

import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;

/**
 * 规则与菜单关联表
 *
 * @author hjj
 * @email 1041914134@qq.com
 * @date 2020-06-23 16:02:15
 */
public interface AdminRoleMenuService  extends IService<AdminRoleMenu> {

    List<AdminRoleMenu> findAllByRid(int rid);

    List<AdminRoleMenu> findAllByRid(List<Integer> rids);

    void updateRoleMenu(int rid, Map<String,List<Integer>> menusIds);




}
